package com.gp.study.tomcat.test;

import com.gp.study.tomcat.http.GPHttpServletRequest;
import com.gp.study.tomcat.http.GPHttpServletResponse;
import com.gp.study.tomcat.servlet.GPDefaultServlet;

public class GpHelloServlet extends GPDefaultServlet {

	@Override
	public void doGet(GPHttpServletRequest servletRequest,
			GPHttpServletResponse servletResponse) throws Exception {
		 doPost(servletRequest, servletResponse);
	}

	@Override
	public void doPost(GPHttpServletRequest servletRequest,
			GPHttpServletResponse servletResponse) throws Exception {
		System.out.println("hello req has recceived");
		servletResponse.write("hello mic");
	}

}
